using System;
using System.Collections.Generic;
using System.Text;

namespace Comics.Extensions
{
	[AttributeUsage(AttributeTargets.Class)]
	public sealed class ExtensionAttribute : System.Attribute
	{
		private string m_description;
		private string m_version;
		private string m_author;

		/// <summary>
		/// Creates an instance of the attribute and assigns a description.
		/// </summary>
		public ExtensionAttribute(string description, string version, string author)
		{
			m_description = description;
			m_version = version;
			m_author = author;
		}

		/// <summary>
		/// Gets the description of the extension.
		/// </summary>
		public string Description
		{
			get { return m_description; }
		}

		/// <summary>
		/// Gets the version number of the extension
		/// </summary>
		public string Version
		{
			get { return m_version; }
		}

		/// <summary>
		/// Gets the author of the extension
		/// </summary>
		public string Author
		{
			get { return m_author; }
		}
	}
}